#include "KcCairoPaintImage.h"
#include "cairo.h" 


void* KcCairoPaintImage::createSurface_(float_t w, float_t h) const
{
    return cairo_image_surface_create(CAIRO_FORMAT_ARGB32, w, h);
}


void* KcCairoPaintImage::data() const
{
    return cairo_image_surface_get_data((cairo_surface_t*)surf_);
}
